3 天前 · Description. Use test() whenever you want to know whether a pattern is found in a string. test() returns a boolean, unlike the String.prototype.
評分 4.0 · Alexandros Andre Chaaraoui Test and validate your regular expressions with our Online Regex Tester. Supports JavaScript, TypeScript, and more. Try our Regex Checker and Validator.
A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern. RegEx can be used to check if a string contains the specified search ...